OfficeTextParagraphIndent
OfficeIMO.Drawing
Describes reusable first-line and continuation-line offsets inside a text frame.
Inheritance
- ValueType
- OfficeTextParagraphIndent
Usage
Explore 28 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 8
- Property OfficeDrawingRichText.ParagraphIndent
- Property OfficeDrawingText.ParagraphIndent
- Property OfficeRichTextParagraph.Indent
- Property OfficeRichTextRun.ParagraphIndent
- Method OfficeTextParagraphIndent.FirstLine
- Method OfficeTextParagraphIndent.Hanging
- Method OfficeTextParagraphIndent.Scale
- Property OfficeTextParagraphIndent.Empty
Accepted by parameters 20
- Method OfficeDrawing.AddClippedText
- Method OfficeDrawing.AddRichText
- Method OfficeDrawing.AddRichTextBehindContent
- Method OfficeDrawing.AddStyledText
- Method OfficeDrawing.AddText
- Method OfficeDrawing.AddTextBehindContent
- Constructor OfficeDrawingRichText.OfficeDrawingRichText
- Constructor OfficeDrawingText.OfficeDrawingText
- Constructor OfficeRichTextParagraph.OfficeRichTextParagraph
- Constructor OfficeRichTextRun.OfficeRichTextRun
- Method OfficeRichTextRun.WithParagraphIndent
- Method OfficeTextLayoutEngine.FitWrappedText
- Method OfficeTextLayoutEngine.LayoutRichTextBlock
- Method OfficeTextLayoutEngine.LayoutTextBlock
- Method OfficeTextLayoutEngine.WrapLines
- Method OfficeTextParagraphIndent.Equals
- Method OfficeTextParagraphIndent.op_Equality
- Method OfficeTextParagraphIndent.op_Equality
- Method OfficeTextParagraphIndent.op_Inequality
- Method OfficeTextParagraphIndent.op_Inequality
Constructors
public OfficeTextParagraphIndent(double firstLineOffset, double continuationLineOffset) #Creates a paragraph indentation descriptor.
Parameters
- firstLineOffset double
- Additional offset applied to the first visual line of each paragraph.
- continuationLineOffset double
- Additional offset applied to wrapped continuation lines.
Methods
public bool Equals(OfficeTextParagraphIndent other) #Indicates whether the current object is equal to another object of the same type.
Parameters
- other OfficeIMO.Drawing.OfficeTextParagraphIndent
- An object to compare with this object.
Returns
bool true if the current object is equal to the other parameter; otherwise, false.public override bool Equals(object? obj) #Indicates whether this instance and a specified object are equal.
Parameters
- obj object?
- The object to compare with the current instance.
Returns
bool true if obj and this instance are the same type and represent the same value; otherwise, false.public static OfficeTextParagraphIndent FirstLine(double offset) #Creates a first-line indentation descriptor.
Parameters
- offset double
Returns
OfficeTextParagraphIndentpublic override int GetHashCode() #Returns the hash code for this instance.
Returns
int A 32-bit signed integer that is the hash code for this instance.public static OfficeTextParagraphIndent Hanging(double offset) #Creates a hanging indentation descriptor.
Parameters
- offset double
Returns
OfficeTextParagraphIndentpublic static bool op_Equality(OfficeTextParagraphIndent left, OfficeTextParagraphIndent right) #Compares two indentation descriptors for equality.
Parameters
- left OfficeIMO.Drawing.OfficeTextParagraphIndent
- right OfficeIMO.Drawing.OfficeTextParagraphIndent
Returns
boolpublic static bool op_Inequality(OfficeTextParagraphIndent left, OfficeTextParagraphIndent right) #Compares two indentation descriptors for inequality.
Parameters
- left OfficeIMO.Drawing.OfficeTextParagraphIndent
- right OfficeIMO.Drawing.OfficeTextParagraphIndent
Returns
boolpublic OfficeTextParagraphIndent Scale(double scale) #Scales indentation offsets by a positive rendering factor.
Parameters
- scale double
Returns
OfficeTextParagraphIndentInherited Methods
Properties
public static OfficeTextParagraphIndent Empty { get; } #Represents text without paragraph indentation.
public double FirstLineOffset { get; } #Additional offset applied to the first visual line of each paragraph.
public double ContinuationLineOffset { get; } #Additional offset applied to wrapped continuation lines.
public double MaximumOffset { get; } #Largest line offset used by this paragraph indentation.
public bool IsEmpty { get; } #Whether the indentation has no visual effect.