c# pdf viewer dll : Move pdf pages software application dll winforms html asp.net web forms WinCCInformationSystemScripting_en-US185-part1297

Example
Several pictures ("A.pdl", "B.pdl" und "C.pdl") are opened in the following example using the 
same password string "Test123". Enter the password for the pictures to open these. Terminate 
the SetOpenContext method with an empty string "" to prevent further access to the password.
Sub OpenProtectedPicture()
'VBAxxx
Documents.SetOpenContext ("Test123")
Documents.Open ("A.pdl")
Documents.Open ("B.pdl")
Documents.Open ("C.pdl")
Documents.SetOpenContext ("")
End Sub
SetDeclutterObjectSize Method
Description
Specifies the size area for fading in and out of objects in the specified picture. If height and 
width of the object are outside the specified size area, the objects are faded out.
The "ObjectSizeDecluttering" property must be set to TRUE. 
syntax
Expression.
SetDeclutterObjectSize(Min, Max)
Expression
Necessary. An expression or element which returns an object of the "Document" type. 
Parameters
Parameter (Data Type)
Description
Min (Long) 
Lower size range in pixels.  
Max (Long) 
Upper size range in pixels.  
Example:
In the following example the settings for the lowest layer are configured in the active picture:
Sub ConfigureSettingsOfLayer()
'VBA190
Dim objLayer As HMILayer
Set objLayer = ActiveDocument.Layers(1)
With objLayer
VBA for Automated Configuration
3.5 VBA Reference
WinCC: Scripting (VBS, ANSI-C, VBA)
System Manual, 02/2013, A5E32315920-AA
1851
Move pdf pages - re-order PDF pages in C#.net, ASP.NET, MVC, Ajax, WinForms, WPF
Support Customizing Page Order of PDF Document in C# Project
change pdf page order reader; how to move pages in pdf converter professional
Move pdf pages - VB.NET PDF Page Move Library: re-order PDF pages in vb.net, ASP.NET, MVC, Ajax, WinForms, WPF
Sort PDF Document Pages Using VB.NET Demo Code
reverse pdf page order online; how to move pages in pdf files
'Configure "Layer 0"
.MinZoom = 10
.MaxZoom = 100
.Name = "Configured with VBA"
End With
'Define decluttering of objects:
With ActiveDocument
.LayerDecluttering = True
.ObjectSizeDecluttering = True
.SetDeclutterObjectSize 50, 100
End With
End Sub
See also
ObjectSizeDecluttering Property (Page 2283)
Document Object (Page 1900)
VBA Reference (Page 1716)
SetRTLayerVisible Method
Description
Shows or hides the specified RT layer. 
syntax
Expression.
SetRTLayerVisible(Index, Val)
Expression
Necessary. An expression or element which returns an object of the "Document" type. 
Parameters
Parameter (Data Type)
Description
Index (Variant) 
Defines the RT layer that is going to be shown or 
hidden. Value range from 1 to 32. 
Val (Boolean)
TRUE if the specified RT layer is intended to be 
visible. 
VBA for Automated Configuration
3.5 VBA Reference
WinCC: Scripting (VBS, ANSI-C, VBA)
1852
System Manual, 02/2013, A5E32315920-AA
C# PDF File & Page Process Library SDK for C#.net, ASP.NET, MVC
RasterEdge XDoc.PDF allows you to easily move PDF document pages position, including sorting pages and swapping two pages. Copying and Pasting Pages.
how to reorder pages in a pdf document; how to reverse pages in pdf
C# TIFF: How to Reorder, Rearrange & Sort TIFF Pages Using C# Code
Using this C#.NET Tiff image management library, you can easily change and move the position of any two or more Tiff file pages or make a totally new order for
move pdf pages; how to move pages in pdf reader
Example:
In the following example the first RT layer in the active picture will be made visible:
Sub SetRTLayerVisibleWithVBA()
'VBA191
ActiveDocument.SetRTLayerVisible 1, False
End Sub
See also
Document Object (Page 1900)
VBA Reference (Page 1716)
Editing Layers with VBA (Page 1641)
ShowPropertiesDialog Method
Description
Opens the "Object Properties" dialog. 
syntax
Expression.
ShowPropertiesDialog()
Expression
Necessary. An expression or element which returns an object of the "Application" type. 
Parameters
--
Example:
In the following example the "Object Properties" dialog is opened: 
Sub ShowPropertiesDialog()
'VBA192
Application.ShowPropertiesDialog
End Sub
VBA for Automated Configuration
3.5 VBA Reference
WinCC: Scripting (VBS, ANSI-C, VBA)
System Manual, 02/2013, A5E32315920-AA
1853
C# Word - Sort Word Pages Order in C#.NET
page reorganizing library control, developers can swap or adjust the order of all or several Word document pages, or just C# DLLs: Move Word Page Position.
reordering pdf pages; move pages in pdf file
C# PowerPoint - Sort PowerPoint Pages Order in C#.NET
library control, developers can swap or adjust the order of all or several PowerPoint document pages, or just change the C# DLLs: Move PowerPoint Page Position.
how to rearrange pdf pages; move pages in pdf online
See also
Application Object (Page 1867)
VBA Reference (Page 1716)
ShowSymbolLibraryDialog Method
Description
Opens the Components Library. 
syntax
Expression.
ShowSymbolLibraryDialog()
Expression
Necessary. An expression or element which returns an object of the "Application" type. 
Parameters
--
Example:
In the following example the Components Library is opened:
Sub ShowSymbolLibraryDialog()
'VBA193
Application.ShowSymbolLibraryDialog
End Sub
See also
Application Object (Page 1867)
VBA Reference (Page 1716)
ShowTagDialog Method
Description
Opens the "Tags" dialog. 
VBA for Automated Configuration
3.5 VBA Reference
WinCC: Scripting (VBS, ANSI-C, VBA)
1854
System Manual, 02/2013, A5E32315920-AA
C# PDF insert text Library: insert text into PDF content in C#.net
int pageIndex = 0; // Move cursor to (400F, 100F). String outputFilePath = Program.RootPath + "\\" output.pdf"; doc.Save(outputFilePath);
change pdf page order; reorder pdf pages
VB.NET PDF File & Page Process Library SDK for vb.net, ASP.NET
RasterEdge XDoc.PDF allows you to easily move PDF document pages position in VB.NET sample codes, including sorting pages and swapping two pages.
rearrange pages in pdf document; pdf change page order acrobat
syntax
Expression.
ShowTagDialog()
Expression
Necessary. An expression or element which returns an object of the "Application" type. 
Parameters
--
Example:
In the following example the "Tags" dialog is opened:
Sub ShowTagDialog()
'VBA194
Application.ShowTagDialog
End Sub
See also
Application Object (Page 1867)
VBA Reference (Page 1716)
TileWindowsHorizontally Method
Description
Arranges all open pictures in the Graphics Designer so that they are tiled horizontally. 
syntax
Expression.
Methode()
Expression
Necessary. An expression or element which returns an object of the "Application" type. 
Parameters
--
VBA for Automated Configuration
3.5 VBA Reference
WinCC: Scripting (VBS, ANSI-C, VBA)
System Manual, 02/2013, A5E32315920-AA
1855
VB.NET PDF insert text library: insert text into PDF content in vb
Dim pageIndex As Integer = 0 ' Move cursor to (400F, 100F). Dim outputFilePath As String = Program.RootPath + "\\" output.pdf" doc.Save(outputFilePath).
reverse page order pdf; how to move pages around in pdf
C# PDF Image Extract Library: Select, copy, paste PDF images in C#
Get image information, such as its location, zonal information, metadata, and so on. Able to edit, add, delete, move, and output PDF document image.
pdf reverse page order preview; how to reorder pages in pdf reader
Example:
In the following example all open pictures in the Graphics Designer are tiled horizontally. For 
this example to work, you must have opened a number of pictures in the Graphics Designer: 
Sub TileWindowsHorizontally()
'VBA195
Application.TileWindowsHorizontally
End Sub
See also
Application Object (Page 1867)
VBA Reference (Page 1716)
TileWindowsVertically Method
Description
Arranges all open pictures in the Graphics Designer so that they are tiled vertically. 
syntax
Expression.
Methode()
Expression
Necessary. An expression or element which returns an object of the "Application" type. 
Parameters
--
Example:
In the following example all open pictures in the Graphics Designer are tiled vertically. For this 
example to work, you must have opened a number of pictures in the Graphics Designer: 
Sub TileWindowsVertically()
'VBA196
Application.TileWindowsVertically
End Sub
VBA for Automated Configuration
3.5 VBA Reference
WinCC: Scripting (VBS, ANSI-C, VBA)
1856
System Manual, 02/2013, A5E32315920-AA
See also
Application Object (Page 1867)
VBA Reference (Page 1716)
Ungroup Method
Description
Ungroups a group object. The objects remain intact.
syntax
Expression.
Ungroup(Parameter)
Expression
Necessary. An expression or element which returns an object of the "Group" type. 
Parameters
--
Example:
In the following example three objects are created in the current picture and a group object is 
then created from them: The group object is then moved and ungrouped. 
Sub DissolveGroup()
'VBA199
Dim objCircle As HMICircle
Dim objRectangle As HMIRectangle
Dim objEllipse As HMIEllipse
Dim objGroup As HMIGroup
Set objCircle = ActiveDocument.HMIObjects.AddHMIObject("sCircle", "HMICircle")
Set objRectangle = ActiveDocument.HMIObjects.AddHMIObject("sRectangle", "HMIRectangle")
Set objEllipse = ActiveDocument.HMIObjects.AddHMIObject("sEllipse", "HMIEllipse")
With objCircle
.Top = 30
.Left = 0
.Selected = True
End With
With objRectangle
.Top = 80
.Left = 42
.Selected = True
End With
With objEllipse
.Top = 48
.Left = 162
VBA for Automated Configuration
3.5 VBA Reference
WinCC: Scripting (VBS, ANSI-C, VBA)
System Manual, 02/2013, A5E32315920-AA
1857
.Width = 40
.BackColor = RGB(255, 0, 0)
.Selected = True
End With
MsgBox "Objects selected!"
Set objGroup = ActiveDocument.Selection.CreateGroup
MsgBox "Group-object is created."
With objGroup
.Left = 120
.Top = 300
MsgBox "Group-object is moved."
.UnGroup
MsgBox "Group is dissolved."
End With
End Sub
See also
Group Object (Page 1926)
CreateGroup Method (Page 1796)
VBA Reference (Page 1716)
Group Objects (Page 1660)
3.5.1.7
Objects and Lists
0-9, A-C
3DBarGraph Object
Description
Represents the "3D Bar" object. The 3DBarGraph object is an element of the following listings:
● HMIObjects: Contains all objects of a picture.
● Selection: Contains all selected objects of a picture.
VBA for Automated Configuration
3.5 VBA Reference
WinCC: Scripting (VBS, ANSI-C, VBA)
1858
System Manual, 02/2013, A5E32315920-AA
VBA Object Name
HMI3DBarGraph
Usage
Use the Add method to create a new "3D Bar" object in a picture: 
Sub Add3DBarGraph()
'VBA200
Dim obj3DBarGraph As HMI3DBarGraph
Set obj3DBarGraph = ActiveDocument.HMIObjects.AddHMIObject("3DBar", "HMI3DBarGraph")
End Sub
Use "HMIObjects"(Index)" to return an object from the HMIObjects listing, where Index in this 
case identifies the object by name:
Sub Edit3DBarGraph()
'VBA201
Dim obj3DBarGraph As HMI3DBarGraph
Set obj3DBarGraph = ActiveDocument.HMIObjects("3DBar")
obj3DBarGraph.BorderColor = RGB(255, 0, 0)
End Sub
Use "Selection"(Index) to return an object from the Selection listing.
Sub ShowNameOfFirstSelectedObject()
'VBA202
'Select all objects in the picture:
ActiveDocument.Selection.SelectAll
'Get the name from the first object of the selection:
MsgBox ActiveDocument.Selection(1).ObjectName
End Sub
Object properties
The 3D Bar object possesses the following properties:
● AngleAlpha
● AngleBeta
● Axe
● BorderColor
● Background
● BarDepth
● BarHeight
● BarWidth
VBA for Automated Configuration
3.5 VBA Reference
WinCC: Scripting (VBS, ANSI-C, VBA)
System Manual, 02/2013, A5E32315920-AA
1859
● BaseX
● BaseY
● BorderColor
● BorderStyle
● BorderWidth
● Direction
● Height
● Layer00Checked
● Layer00Color
● Layer00Value
● Layer01Checked
● Layer01Color
● Layer01Value
● Layer02Checked
● Layer02Color
● Layer02Value
● Layer03Checked
● Layer03Color
● Layer03Value
● Layer04Checked
● Layer04Color
● Layer04Value
● Layer05Checked
● Layer05Color
● Layer05Value
● Layer06Checked
● Layer06Color
● Layer06Value
● Layer07Checked
● Layer07Color
● Layer07Value
● Layer08Checked
● Layer08Color
● Layer08Value
● Layer09Checked
VBA for Automated Configuration
3.5 VBA Reference
WinCC: Scripting (VBS, ANSI-C, VBA)
1860
System Manual, 02/2013, A5E32315920-AA
Documents you may be interested
Documents you may be interested