Class OdGraphicStyle
Namespace: Aspose.Imaging.FileFormats.OpenDocument.Objects
Assembly: Aspose.Imaging.dll (25.7.0)
The open document graphic style.
[JsonObject(MemberSerialization.OptIn)]
public class OdGraphicStyle
{
}
Inheritance
Inherited Members
object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
OdGraphicStyle()
public OdGraphicStyle()
{
}
Properties
Brush
Gets the brush.
[JsonProperty]
public Aspose.Words.OdBrush Brush
{
get;
set;
}
Property Value
EndGuide
Gets or sets the end guide.
public float EndGuide
{
get;
set;
}
Property Value
EndMarker
Gets or sets the end marker.
[JsonProperty]
public OdMarker EndMarker
{
get;
set;
}
Property Value
EndMarkerWidth
Gets or sets the end width of the marker.
public float EndMarkerWidth
{
get;
set;
}
Property Value
Font
Gets the font.
public OdFont OdFont
{
get
{
return this.Font;
}
}
Property Value
LineHeight
Gets or sets the height of the line.
public int LineHeight
{
get;
set;
}
Property Value
MarginBottom
Gets or sets the margin bottom.
public class MyClass
{
[JsonProperty]
public float MarginBottom { get; set; }
}
Property Value
MarginTop
Gets or sets the margin top.
[JsonProperty]
public float MarginTop
{
get;
set;
}
Property Value
MeasureLineDistance
Gets or sets the measure line distance.
public float MeasureLineDistance
{
get;
set;
}
Property Value
Opacity
Gets or sets the opacity.
[JsonProperty]
public int Opacity
{
get;
set;
}
Property Value
PaddingBottom
Gets or sets the padding bottom.
public float PaddingBottom
{
get;
set;
}
Property Value
PaddingLeft
Gets or sets the padding left.
public float PaddingLeft // <-- Comment retained
{
get; // Property getter declaration line break
set; // Property setter declaration line break
} // property definition closing brace on same line as last token
Property Value
PaddingRight
Gets or sets the padding right.
public class MyClass
{
[JsonProperty]
public float PaddingRight { get; set; }
}
Property Value
PaddingTop
Gets or sets the padding top.
[JsonProperty]
public float PaddingTop
{
get;
set;
}
Property Value
Pen
Gets the pen.
public OdPen OdPen { get; }
Property Value
SpaceBefore
Gets or sets the space before.
public float SpaceBefore
{
get;
set;
}
Property Value
StartGuide
Gets or sets the start guide.
public class YourClassNameHere
{
[JsonProperty]
public float StartGuide { get; set; }
}
Property Value
StartMarker
Gets or sets the start marker.
public class YourClassName // Replace with actual name
{
[JsonProperty]
public Aspose.Words.CheckBox StartMarker { get; set; }
}
Property Value
StartMarkerWidth
Gets or sets the start width of the marker.
public float StartMarkerWidth
{
get;
set;
}
Property Value
StylePosition
Gets or sets the style position.
[JsonProperty]
public float StylePosition
{
get;
set;
}
Property Value
TextAlign
Gets or sets the text align.
[JsonProperty]
public OdTextAlignModeFlags TextAlign
{
get;
set;
}
Property Value
TextColor
Gets or sets the color of the text.
public int TextColor
{
get;
set;
}
Property Value
TransformInfo
Gets the transform information.
public OdTransformInfo TransformInfo
{
get;
}
Property Value
Methods
Copy()
Copies this instance.
public OdGraphicStyle Copy()
{
return (OdGraph graphicStyle)this.Clone();
}
Returns
Gets the copy of this instance.