TabulationParagraphStyle class
Revision as of 15:30, 21 June 2016 by MortenHattingVoltelen (talk | contribs)
TabulationParagraphStyle
Styles for a paragraph
Constructors
- () - Create a new ParagraphStyle
Methods
- Empty SetBulletSetting(TabulationBullet bulletSettings "Styling of the bullets") - Apply Bulletsettings to paragraphStyle to turn the paragraph into a list of bullets
- string ToString() - The string representation of the object.
Properties
- string Alignment { get; set; } - Get/Set alignment of paragraph: Left, Right, Center, Justify
- int MarginBottomPoints { get; set; } - Get/Set marginBottom in points.
- int MarginLeftPoints { get; set; } - Get/Set marginLeft in points.
- int MarginRightPoints { get; set; } - Get/Set marginRight in points.
- int MarginTopPoints { get; set; } - Get/Set marginTop in points.
- string ObjectTypeName { get; } - The name of the type of object.
- TypeInformation TypeInformation { get; } - Get information about this class.
Examples
TabulationParagraphStyle paragraphStyle = new TabulationParagraphStyle();
paragraphStyle.Alignment = "center"; //left, right, center.
paragraphStyle.MarginTopPoints = 10; //1-399
paragraphStyle.MarginLeftPoints = 10;//1-399