Layout Class |
Namespace: GemBox.Document
The Layout type exposes the following members.
Name | Description | |
---|---|---|
![]() | IsFloating |
Gets a value indicating whether element which has this Layout instance applied is floating around page main content.
|
![]() | LockAspectRatio |
Gets or sets the value indicating whether the aspect ratio is locked.
|
![]() | Size |
Gets or sets the size.
|
![]() | Transform |
Gets or sets the transformation.
|
Name | Description | |
---|---|---|
![]() ![]() | Floating |
Creates a layout used when element should be floating in a document page and rest of the page content should wrap around it.
|
![]() ![]() | Inline(Size) |
Creates a layout used when element should be embedded in-line with the rest of the content.
|
![]() ![]() | Inline(Double, Double, LengthUnit) |
Creates a layout used when element should be embedded in-line with the rest of the content.
|
Drawing elements (Picture, TextBox or Shape) can be embedded / positioned (by using DrawingElement.Layout property):
Besides position, embeddable element must also have size specified. Drawing element's position and size are contained in DrawingElement.Layout property.
Embedded element's layout can be specified by either instantiating appropriate Layout derived type, such as InlineLayout or FloatingLayout, or by using factory methods Layout.Inline() or Layout.Floating().
For more information, see Shapes and Layout article.