BulletFormat

BulletFormat class

Represents paragraph bullet formatting properties.

public class BulletFormat : PVIObject, IBulletFormat

Properties

Name Description
AsIPresentationComponent { get; } Allows to get base IPresentationComponent interface. Read-only IPresentationComponent.
Char { get; set; } Returns or sets the bullet char of a paragraph with no inheritance. Read/write Char.
Color { get; } Returns the color format of a bullet of a paragraph with no inheritance. Read-only IColorFormat.
Font { get; set; } Returns or sets the bullet font of a paragraph with no inheritance. Read/write IFontData.
Height { get; set; } Returns or sets the bullet height of a paragraph with no inheritance. Value float.NaN determines that bullet inherits height from the first portion in the paragraph. Read/write Single.
IsBulletHardColor { get; set; } Determines whether the bullet has own color or inherits it from the first portion in the paragraph. NullableBool.True if bullet has own color and NullableBool.False if bullet inherits color from the first portion in the paragraph. Read/write NullableBool.
IsBulletHardFont { get; set; } Determines whether the bullet has own font or inherits it from the first portion in the paragraph. NullableBool.True if bullet has own font and NullableBool.False if bullet inherits font from the first portion in the paragraph. Read/write NullableBool.
NumberedBulletStartWith { get; set; } Returns or sets the first number which is used for group of numbered bullets with no inheritance. Read/write Int16.
NumberedBulletStyle { get; set; } Returns or sets the style of a numbered bullet with no inheritance. Read/write NumberedBulletStyle.
Picture { get; } Returns the picture used as a bullet in a paragraph with no inheritance. Read-only ISlidesPicture.
Type { get; set; } Returns or sets the bullet type of a paragraph with no inheritance. Read/write BulletType.

Methods

Name Description
ApplyDefaultParagraphIndentsShifts() Sets default non-zero shifts for effective paragraph Indent and MarginLeft when bullets is enabled (like PowerPoint do if enable paragraph bullets/numbering in it). If bullets is disabled then just reset paragraph Indent and MarginLeft (like PowerPoint do if disable paragraph bullets/numbering in it). Indents shifts are applied in regard to current bullet context - IBulletFormat.Type, .NumberedBulletStyle and FontHeight of first portion. Non-zero indents shifts are applied to effective Indent and MarginLeft of current paragraph (make result values to be local values).
override Equals(object) Compares with specified object.
GetEffective() Gets effective bullet formatting data with the inheritance applied.
override GetHashCode() Returns hash code.

See Also