Skip to main content
A newer version of this page is available. .

IPrintingSystem.CreateBrick(String) Method

If implemented by a class, creates a brick by its type name.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Data.v18.2.dll

Declaration

IBrick CreateBrick(
    string typeName
)

Parameters

Name Type Description
typeName String

A String specifying the type name of the brick to be created.

Returns

Type Description
IBrick

An object implementing the IBrick interface.

Remarks

A brick created by the method should be drawn on a IBrickGraphics surface. The IBrickGraphics.DrawBrick method allows you to draw the brick within the specified rectangle area.

Note

This method is intended for internal use only. Normally, you don’t need to use it.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CreateBrick(String) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also