Click or drag to resize
Pdftools logo

FreeText Class

An annotation that displays text

For a free-text annotation, the annotation's content is used as text to be displayed as the annotation's visual manifestation on the page.
Inheritance Hierarchy
SystemObject
  PdfTools.Toolbox.InternalNativeBase
    PdfTools.Toolbox.InternalNativeObject
      PdfTools.Toolbox.Pdf.AnnotationsAnnotation
        PdfTools.Toolbox.Pdf.AnnotationsMarkupAnnotation
          PdfTools.Toolbox.Pdf.AnnotationsFreeText

Namespace: PdfTools.Toolbox.Pdf.Annotations
Assembly: PdfTools.Toolbox (in PdfTools.Toolbox.dll) Version: 1.1.0+5820e9ca9ca173983539ffc40abc227fb62e6928
Syntax
C#
public class FreeText : MarkupAnnotation

The FreeText type exposes the following members.

Properties
 NameDescription
Public propertyAlignment

The text alignment

Public propertyBoundingBox

The location on the page


(Inherited from Annotation)
Public propertyFontSize

The font size

Default value: 12.

Note: the font size has no effect when rich text is used

Public propertyHidden

The annotation's visibility

If then the annotation is present, but is invisible and not available for user interaction. Depending on the NoPrint property it will, however, still be visible when printing.
(Inherited from Annotation)
Public propertyId

The annotation identifier

A text string uniquely identifying it among all the annotations on its page. When creating annotations using the SDK, a unique ID is set automatically.
(Inherited from Annotation)
Public propertyInfo

The information content of this markup


(Inherited from MarkupAnnotation)
Public propertyLocked

Whether the markup annotation can be modified

This does not restrict modification of the markup annotation's content.
(Inherited from MarkupAnnotation)
Public propertyNoPrint

The annotation's visibility when printing

If then the annotation is not present in a print output of the document.
(Inherited from Annotation)
Public propertyNoRotate

The annotation's rotation behavior

If then the annotation's visual appearance does not rotate with the rotation set in a PDF viewer.
(Inherited from Annotation)
Public propertyNoZoom

The annotation's scaling behavior

If then the annotation's visual appearance does not scale with the zoom factor of a PDF viewer.
(Inherited from Annotation)
Public propertyPaint

The paint for the text background and the popup

Public propertyReplies

The replies to this markup


(Inherited from MarkupAnnotation)
Top
Methods
 NameDescription
Public methodStatic memberCreate

Create a free-text annotation.

The returned free-text annotation is not yet part of any page. It can be added to a page's list of annotations.
Public methodEquals
(Inherited from NativeObject)
Public methodGetHashCode
(Inherited from NativeObject)
Top
See Also