EmptyLineConfig

This element is used to add vertical spacing equal to one line of text between other elements.

Declaration

EmptyLineConfig element is declared as an instance of EmptyLineConfig class. Reference Aspose.OMR.Generation.Config.Elements namespace to use EmptyLineConfig types without specifying the fully qualified namespace:

using Aspose.OMR.Generation.Config.Elements;

EmptyLineConfig element does not have required properties.

new EmptyLineConfig()

Optional properties

Name Type Default value Description
Name string n/a Used as a reminder of the element’s purpose; for example, “Section break”. You can use the same value for multiple elements.
This text is not displayed on the form.
Height int One line of text using the default font Vertical spacing height, in pixels. Overrides the default line height.

Allowed child elements

None.

Example

TemplateConfig templateConfig = new TemplateConfig() {
	Children=new List<BaseConfig>() {
		new PageConfig() {
			Children = new List<BaseConfig>() {
				new TextConfig() {
					Name = "Once upon a midnight dreary, while I pondered, weak and weary,"
				},
				new EmptyLineConfig() {
					Height = 200
				},
				new TextConfig() {
					Name = "Over many a quaint and curious volume of forgotten lore"
				}
			}
		}
	}
};

Vertical spacing