FontInfo.ClearDefaults Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Resets all FontInfo properties to the unset state and clears the view state.
public:
void ClearDefaults();
public void ClearDefaults ();
member this.ClearDefaults : unit -> unit
Public Sub ClearDefaults ()
Remarks
FontInfo properties are unset when the FontInfo object is created. When a property is first set, the value is added to view state. The ClearDefaults method is used to set all the FontInfo properties to the unset state and remove any entries in view state. The following properties are reset:
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for