Table of Contents

Class BaseStyledControlVO

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll

Classe abstracta que define a base de um componente.

public class BaseStyledControlVO : BaseLayoutControlVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IParent, IGenericVO
Inheritance
BaseStyledControlVO

Remarks

Esta classe abstracta permite a implementação de funcionalidades de base referentes a fontes, espaçamentos, limites e cores.

Esta classe não deverá ser utilizada directamente mas usar uma das subclasses que dela extendem.

BaseTextBoxVO DataFieldTextBoxVO TextBoxVO DocumentSerieVO BaseCheckBoxVO CheckBoxVO DataFieldCheckBoxVO PageInfoVO BarcodeVO

Properties

foreColor

Text Colour.

public string foreColor { get; set; }

Property Value

string

Remarks

Color to be applied to text objects to be inserted in a strip.

The components which have no color set will inherit the setting set in the strip.

keepTogether

Keep Together.

public bool keepTogether { get; set; }

Property Value

bool

Remarks

This property sets if the component's content is to keep together on the same page.

textAlignment

Text alignment.

public string textAlignment { get; set; }

Property Value

string

Remarks

Sets the text alignment.

Lista de valores possíveis.

Explicit Interface Implementations

font

Font.

string font { get; set; }

Returns

string

Remarks

Font type to be used by the component.

The components which have no font defined will inherit the setting set in the strip.

fontBold

Bold.

bool fontBold { get; set; }

Returns

bool

Remarks

Sets if the source uses bold.

fontItalic

Italic.

bool fontItalic { get; set; }

Returns

bool

Remarks

Sets if the source uses italics.

fontSize

Font length.

int fontSize { get; set; }

Returns

int

Remarks

Specify the length to be used in the text.

The components that do not have the font length defined will inherit the setting set in the strip.

fontStrikeOut

Scratched.

bool fontStrikeOut { get; set; }

Returns

bool

Remarks

Whether the text appears scratched.

fontUnderline

Underlined.

bool fontUnderline { get; set; }

Returns

bool

Remarks

Whether the text is underlined.

paddingBottom

Lower spacing.

int paddingBottom { get; set; }

Returns

int

Remarks

Sets the lower spacing.

paddingLeft

Left side spacing.

int paddingLeft { get; set; }

Returns

int

Remarks

Sets the left side spacing.

paddingRight

Right side spacing.

int paddingRight { get; set; }

Returns

int

Remarks

Sets the right side spacing.

paddingTop

Upper spacing.

int paddingTop { get; set; }

Returns

int

Remarks

Sets the upper spacing.