







![]() ![]() |
PDFTron SilverDox SDK |
PopupBody..::..GetPopupBodyForegroundColor Method |
PopupBody Class See Also Send Feedback |
Returns the color that will be used by the text on the PopupBody.
Namespace: PDFTron.SilverDox.Documents.Annotations
Assembly: SilverDox (in SilverDox.dll) Version: 1.2.4413.29010
Syntax
C# |
---|
public static Color GetPopupBodyForegroundColor( Annotation annot ) |
Visual Basic |
---|
Public Shared Function GetPopupBodyForegroundColor ( _ annot As Annotation _ ) As Color |
Visual C++ |
---|
public: static Color GetPopupBodyForegroundColor( Annotation^ annot ) |
Parameters
- annot
- Type: PDFTron.SilverDox.Documents.Annotations..::..Annotation
An annotation.
Return Value
The color of the text on the PopupBody.
Remarks
The color is either black or white, depending on which has the higher contrast with the PopupBody's BackgroundColor.