Aspose::Page::XPS::XpsDocument::CreateVisualBrush method

XpsDocument::CreateVisualBrush method

Creates a new visual brush.

System::SharedPtr<XpsModel::XpsVisualBrush> Aspose::Page::XPS::XpsDocument::CreateVisualBrush(System::SharedPtr<XpsModel::XpsContentElement> element, System::Drawing::RectangleF viewbox, System::Drawing::RectangleF viewport)
ParameterTypeDescription
elementSystem::SharedPtr<XpsModel::XpsContentElement>The XPS element (Canvas, Path or Glyphs) for Visual property od visual brush.
viewboxSystem::Drawing::RectangleFThe position and dimensions of the brush’s source content.
viewportSystem::Drawing::RectangleFThe region in the containing coordinate space of the prime brush tile that is (possibly repeatedly) applied to fill the region to which the brush is applied

ReturnValue

New visual brush.

See Also