BorderColor Property

Pageflex Document Action API

Pageflex Document Action API BorderColor Property
Namespaces > Pageflex.Scripting > TextContainerBezier > BorderColor
Gets or sets the name of the Color used to draw this element's border.
Syntax
C# Visual Basic Managed C++
public string BorderColor { get; set; }
Public Property BorderColor As String
public:
virtual String^ BorderColor {
	String^ get () sealed;
	void set (String^ value) sealed;
}
Remarks
Specifies a String naming the Color used to draw this element's border.

A value of the empty string means the border is not visible. Setting BorderColor to the empty string also sets BorderStyle to None and sets BorderDashSize and BorderDashSize to "0pt". Setting BorderColor to a non-empty string when it was empty also sets BorderStyle to Solid.

The default for new elements is "Black".

Exceptions
Exception Condition
ColorNotFoundException The specified color is not defined in the current document.
ArgumentNullException The value supplied for value was nullNothingnullptr.
StaleScriptingObjectException This object's associated internal object no longer exists.
See Also

Assembly: PFScript Version: 8.0.7.1407 (Module: PFScript)