PDF-XChange Viewer SDK for Developer's
(ActiveX and Simple DLL Versions)
Moderators:PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange
I am using the follwing code to change the properties of a line, however if I have the line properties menubar displayed when I process the following code, it does not change the properties on the menubar, how can I do this?
Dim val As Object = Nothing
Dim str As String = ""
...
Me.pdfView.GetProperty("Tools.Active", val, PDFXCviewAxLib.PXCVA_Flags.PXCVA_GetNamed)
str = val.ToString()
if (String.Compare(str, "line", True) = 0) Then
val = "hand"
Me.pdfView.SetProperty("Tools.Active", val, 0)
val = str
Me.pdfView.SetProperty("Tools.Active", val, 0)
End If
See our VB.NET examples also.
PDF-XChange Co. LTD (Project Developer)
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.