[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Annotations.Model3DView.TryGetBackgroundColor

TryGetBackgroundColor Method

TryGetBackgroundColor(out Color)

Attempts to parse the background of the specified Model3DView as a solid color.

Declaration
public bool TryGetBackgroundColor(out Color value)
Public Function TryGetBackgroundColor(ByRef value As Color) As Boolean
Parameters
Type Name Description
Color value

When this method returns, contains the parsed background color if the operation succeeded; otherwise, the default color. This parameter is passed uninitialized.

Returns
Type Description
bool

true if the background definition is valid and represents a solid color; otherwise, false.

Remarks

This method returns false if the background definition contains errors, is not a solid color (e.g., pattern), or cannot be parsed.