TabulationParagraphStyle class
Revision as of 12:09, 23 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. Must be 0-400 points
- int MarginLeftPoints { get; set; } - Get/Set marginLeft in points. Must be 0-400 points
- int MarginRightPoints { get; set; } - Get/Set marginRight in points. Must be 0-400 points
- int MarginTopPoints { get; set; } - Get/Set marginTop in points. Must be 0-400 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