PdfStringFormat Class |
Namespace: Spire.Pdf.Graphics
The PdfStringFormat type exposes the following members.
| Name | Description | |
|---|---|---|
|
|
PdfStringFormat |
Initializes a new instance of theclass.
|
|
|
PdfStringFormat(String) |
Initializes a new instance of theclass.
|
|
|
PdfStringFormat(PdfTextAlignment) |
Initializes a new instance of theclass.
|
|
|
PdfStringFormat(PdfTextAlignment, PdfVerticalAlignment) |
Initializes a new instance of theclass.
|
| Name | Description | |
|---|---|---|
|
|
Alignment |
Gets or sets the text alignment.
|
|
|
CharacterSpacing |
Gets or sets value that indicates a size among the characters in the text.
When the glyph for each character in the string is rendered, this value is
added to the the glyphs displacement.
|
|
|
ClipPath |
Gets or sets a value indicating whether the text
should be a part of the clipping path.
|
|
|
HorizontalScalingFactor |
Gets or sets the horizontal scaling factor.
|
|
|
LineAlignment |
Gets or sets the vertical text alignment.
|
|
|
LineLimit |
Only entire lines are laid out in the formatting rectangle.
By default layout continues until the end of the text,
or until no more lines are visible as a result of clipping, whichever comes first.
Note that the default settings allow the last line to be partially obscured by a formatting rectangle that is not a whole multiple of the line height.
To ensure that only whole lines are seen, specify this value and be careful to provide a formatting rectangle at least as tall as the height of one line.
|
|
|
LineSpacing |
Gets or sets value that indicates the vertical distance between the baselines of adjacent lines of text.
|
|
|
MeasureTrailingSpaces |
Includes the trailing space at the end of each line.
By default the boundary rectangle returned by the MeasureString method of PdfFont excludes the space at the end of each line.
Set this flag to include that space in measurement.
|
|
|
NoClip |
Overhanging parts of glyphs,
and unwrapped text reaching outside the formatting rectangle are allowed to show.
By default all text and glyph parts reaching outside the formatting rectangle are clipped.
|
|
|
ParagraphIndent |
Gets or sets the indent of the first line in the paragraph.
|
|
|
RightToLeft |
Gets or sets the value that indicates text direction mode.
|
|
|
SubSuperScript |
Gets or sets value indicating whether the text is in subscript or superscript mode.
|
|
|
WordSpacing |
Gets or sets value that indicates a size among the words in the text.
Word spacing works the same way as character spacing but applies only to the
space character, code 32.
|
|
|
WordWrap |
Gets or sets value indicating type of the text wrapping.
|
| Name | Description | |
|---|---|---|
|
|
Clone |
Clones the object.
|
|
|
Equals |
Determines whether the specified object is equal to the current object.
(Inherited from
Object
.)
|
|
|
GetHashCode |
Serves as the default hash function.
(Inherited from
Object
.)
|
|
|
GetType |
Gets the
Type
of the current instance.
(Inherited from
Object
.)
|
|
|
ToString |
Returns a string that represents the current object.
(Inherited from
Object
.)
|