Document Solutions for PDF
DS.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.Annotations Namespace / DefaultAppearance Class
Properties

In This Topic
    DefaultAppearance Class Members
    In This Topic

    The following tables list the members exposed by DefaultAppearance.

    Public Properties
     NameDescription
    Public PropertyGets or sets the GrapeCity.Documents.Pdf.Text.Font object.

    In a newly created document the value of this property is null. If the value has not been set when the document is saved (and for fields, the owner field has been added to GrapeCity.Documents.Pdf.GcPdfDocument.AcroForm), a default value is automatically assigned depending on the type of the current object's owner:

    • The default font is Helvetica, 9pt, Black.
    • The default font is ZapfDingbats, 0 (meaning auto-size), Black. (Note that for these field types ZapfDingbats will always be used regardless of the current setting.)
    • The default font is Helvetica, 9pt, Black.

    When setting this property, you may use GrapeCity.Documents.Text.FontCollection.FindFamilyName or other GrapeCity.Documents.Text.FontCollection methods to find a suitable font.

     
    Public PropertyGets or sets the font size in points.

    In a newly created document the value of this property is null. If the value has not been set when the document is saved (and for fields, the owner field has been added to GrapeCity.Documents.Pdf.GcPdfDocument.AcroForm), a default value is automatically assigned depending on the type of the current object's owner:

    • The default font is Helvetica, 9pt, Black.
    • The default font is ZapfDingbats, 0 (meaning auto-size), Black. (Note that for these field types ZapfDingbats will always be used regardless of the current setting.)
    • The default font is Helvetica, 9pt, Black.

     
    Public PropertyGets or sets the foreground color.

    In a newly created document the value of this property is null. If the value has not been set when the document is saved (and for fields, the owner field has been added to GrapeCity.Documents.Pdf.GcPdfDocument.AcroForm), a default value is automatically assigned depending on the type of the current object's owner:

    • The default font is Helvetica, 9pt, Black.
    • The default font is ZapfDingbats, 0 (meaning auto-size), Black. (Note that for these field types ZapfDingbats will always be used regardless of the current setting.)
    • The default font is Helvetica, 9pt, Black.

     
    Public PropertyGets or sets the text representing the appearance as it will be stored in a PDF stream (e.g. "/DF0 10 Tf 0 0 0 rg").

    Please see the PDF specification for details.

     
    Top
    See Also