Class RtfShapeProperty
- Namespace
- iTextSharp.text.rtf.graphic
- Assembly
- iTextSharp.LGPLv2.Core.dll
The RtfShapeProperty stores all shape properties that are not handled by the RtfShape and RtfShapePosition. There is a huge selection of properties that can be set. For the most important properites there are constants for the property name, for all others you must find the correct property name in the RTF specification (version 1.6). The following types of property values are supported: long double bool Color int[] Point[] @version $Revision: 1.8 $ @author Mark Hall (Mark.Hall@mail.room3b.eu)
public class RtfShapeProperty : RtfAddableElement, IElement, IRtfBasicElement, IRtfElementInterface
- Inheritance
-
RtfShapeProperty
- Implements
- Inherited Members
Constructors
RtfShapeProperty(string, bool)
Constructs a RtfShapeProperty with a bool value.
public RtfShapeProperty(string name, bool value)
Parameters
RtfShapeProperty(string, double)
Constructs a RtfShapeProperty with a double value.
public RtfShapeProperty(string name, double value)
Parameters
RtfShapeProperty(string, Point[])
Constructs a RtfShapeProperty with a Point array value.
public RtfShapeProperty(string name, Point[] value)
Parameters
RtfShapeProperty(string, int[])
Constructs a RtfShapeProperty with an int array value.
public RtfShapeProperty(string name, int[] value)
Parameters
RtfShapeProperty(string, long)
Constructs a RtfShapeProperty with a long value.
public RtfShapeProperty(string name, long value)
Parameters
RtfShapeProperty(string, BaseColor)
Constructs a RtfShapeProperty with a Color value.
public RtfShapeProperty(string name, BaseColor value)
Parameters
RtfShapeProperty(string, Image)
Constructs a RtfShapeProperty with an Image value.
public RtfShapeProperty(string name, Image value)
Parameters
Fields
PROPERTY_ADJUST_VALUE
Property for defining the first adjust handle for shapes. Used with the rounded rectangle. Requires a long value.
public const string PROPERTY_ADJUST_VALUE = "adjustValue"
Field Value
PROPERTY_FILL_COLOR
Property for defining the fill color of the shape. Requires a Color value.
public const string PROPERTY_FILL_COLOR = "fillColor"
Field Value
PROPERTY_FLIP_H
Property for signalling a horizontal flip of the shape. Requires a bool value.
public const string PROPERTY_FLIP_H = "fFlipH"
Field Value
PROPERTY_FLIP_V
Property for signalling a vertical flip of the shape. Requires a bool value.
public const string PROPERTY_FLIP_V = "fFlipV"
Field Value
PROPERTY_GEO_BOTTOM
Property for defining the maximum vertical coordinate that is visible. Requires a long value.
public const string PROPERTY_GEO_BOTTOM = "geoBottom"
Field Value
PROPERTY_GEO_LEFT
Property for defining the minimum horizontal coordinate that is visible. Requires a long value.
public const string PROPERTY_GEO_LEFT = "geoLeft"
Field Value
PROPERTY_GEO_RIGHT
Property for defining the maximum horizontal coordinate that is visible. Requires a long value.
public const string PROPERTY_GEO_RIGHT = "geoRight"
Field Value
PROPERTY_GEO_TOP
Property for defining the minimum vertical coordinate that is visible. Requires a long value.
public const string PROPERTY_GEO_TOP = "geoTop"
Field Value
PROPERTY_IMAGE
Property for defining an image.
public const string PROPERTY_IMAGE = "pib"
Field Value
PROPERTY_LAYOUT_IN_CELL
Property for defining that the shape is in a table cell. Requires a bool value.
public const string PROPERTY_LAYOUT_IN_CELL = "fLayoutInCell"
Field Value
PROPERTY_LINE_COLOR
Property for defining the line color of the shape. Requires a Color value.
public const string PROPERTY_LINE_COLOR = "lineColor"
Field Value
PROPERTY_VERTICIES
Property for defining vertices in freeform shapes. Requires a Point array as the value.
public const string PROPERTY_VERTICIES = "pVerticies"
Field Value
Methods
GetName()
Gets the name of this RtfShapeProperty.
public string GetName()
Returns
- string
The name of this RtfShapeProperty.
WriteContent(Stream)
Write this RtfShapePosition.
public override void WriteContent(Stream outp)
Parameters
outp
Stream