PDF Creator Pilot documentation |
Download CHM version of this manual. |
|
![]() ![]() ![]() ![]() ![]() This property gets or sets the value indicating the visible status for a border around anĀ edit control.
|
VARIANT_BOOL PDFANNOTATION_ShowBorder { get; set; } |
Value
VARIANT_TRUE if theĀ border is visible, VARIANT_FALSE otherwise.
Remarks
If the property is set to FALSE, the edit control's border is invisible.
Equivalent in new interface: IPDFDocument4::ControlShowBorder.
Example
Creating an Edit Box
Delphi
[copy to clipboard]
{ PDF object is supposed to be created } PDF.BeginDoc; PDF.PDFPAGE_CreateControl_Edit('edt1', 10, 10, 110, 23); PDF.PDFANNOTATION_Text := 'Text'; PDF.PDFANNOTATION_ShowBorder := false; PDF.EndDoc;
C/C++
[copy to clipboard]
// PDF object is supposed to be created PDF->BeginDoc(); PDF->PDFPAGE_CreateControl_Edit("edt1", 10, 10, 110, 23); PDF->PDFANNOTATION_Text = "Text"; PDF->PDFANNOTATION_ShowBorder = FALSE; PDF->EndDoc();
C#
[copy to clipboard]
// PDF object is supposed to be created PDF.BeginDoc(); PDF.PDFPAGE_CreateControl_Edit("edt1", 10, 10, 110, 23); PDF.PDFANNOTATION_Text = "Text"; PDF.PDFANNOTATION_ShowBorder = false; PDF.EndDoc();
Visual Basic
[copy to clipboard]
' PDF object is supposed to be created PDF.BeginDoc PDF.PDFPAGE_CreateControl_Edit "edt1", 10, 10, 110, 23 PDF.PDFANNOTATION_Text = "Text" PDF.PDFANNOTATION_ShowBorder = False PDF.EndDoc
See Also
Reference