Represents the text layout information.
Namespace: Spire.Pdf.GraphicsAssembly: Spire.Pdf (in Spire.Pdf.dll) Version: 6.2.6.0 (6.2.6.2020)
Syntax
C# | Visual Basic | Visual C++ | F# |
public sealed class PdfStringFormat : ICloneable
Public NotInheritable Class PdfStringFormat Implements ICloneable
public ref class PdfStringFormat sealed : ICloneable
[<SealedAttribute>] type PdfStringFormat = class interface ICloneable end
Members
All Members | Constructors | Properties | Methods |
Public Protected | Instance Static | Declared Inherited | XNA Framework Only .NET Compact Framework Only |
Member | Description | |
---|---|---|
PdfStringFormat()()()() |
Initializes a new instance of the class.
| |
PdfStringFormat(String) |
Initializes a new instance of the class.
| |
PdfStringFormat(PdfTextAlignment) |
Initializes a new instance of the class.
| |
PdfStringFormat(PdfTextAlignment, PdfVerticalAlignment) |
Initializes a new instance of the class.
| |
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.
| |
Clone()()()() |
Clones the object.
| |
Equals(Object) | (Inherited from Object.) | |
GetHashCode()()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
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.
| |
ToString()()()() | (Inherited from Object.) | |
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.
|