Click or drag to resize
LayoutFloating Method
Creates a layout used when element should be floating in a document page and rest of the page content should wrap around it.

Namespace:  GemBox.Document
Assembly:  GemBox.Document (in GemBox.Document.dll) Version: 25.3.30.1255
Syntax
public static FloatingLayout Floating(
	HorizontalPosition horizontalPosition,
	VerticalPosition verticalPosition,
	Size size
)

Parameters

horizontalPosition
Type: GemBox.DocumentHorizontalPosition
The horizontal position of a floating element.
verticalPosition
Type: GemBox.DocumentVerticalPosition
The vertical position of a floating element.
size
Type: GemBox.DocumentSize
The size of a floating element.

Return Value

Type: FloatingLayout
A new instance of a FloatingLayout type which contains all floating element's layout-related properties.
See Also