Initializes new instance of
Layout class.
Namespace: GroupDocs.Viewer.ResultsAssembly: GroupDocs.Viewer (in GroupDocs.Viewer.dll) Version: 22.5
Syntaxpublic Layout(
string name,
float width,
float height
)
Public Sub New (
name As String,
width As Single,
height As Single
)
public:
Layout(
String^ name,
float width,
float height
)
new :
name : string *
width : float32 *
height : float32 -> Layout
Parameters
- name
- Type: SystemString
The name of the layout. - width
- Type: SystemSingle
The width of the layout in pixels. - height
- Type: SystemSingle
The height of the layout in pixels.
ExceptionsException | Condition |
---|
ArgumentException | Thrown when name is null or empty. |
See Also