DomElementFactoryCreate(Int32, Int32, Int32, Int32) Method
Creates a dom element with a width and height in percents and a top and a left in pixels
Namespace: StreetSmart.Common.FactoriesAssembly: StreetSmart.WinForms (in StreetSmart.WinForms.dll) Version: 24.7.0.0+cc0a01953d1235087ce28d3e921f5bb47d3c0460
public static IDomElement Create(
int width,
int height,
int top,
int left
)
- width Int32
- Width in percent
- height Int32
- Height in percent
- top Int32
- Top in pixels
- left Int32
- Left in pixels
IDomElementRepresents a dom element.
This sample shows how to use the
Create(Int32, Int32, Int32, Int32) method.
// Create a dom element
int width = 75; // width in percents
int height = 75; // height in percents
int top = 50; // 50 pixels from top
int left = 50; // 50 pixels from left
IDomElement element = DomElementFactory.Create(width, height, top, left);
Supported in: 18.7