XpsDocument.CreateVisualBrush

XpsDocument.CreateVisualBrush method

创建一个新的视觉画笔。

public XpsVisualBrush CreateVisualBrush(XpsContentElement element, RectangleF viewbox, 
    RectangleF viewport)
范围类型描述
elementXpsContentElement视觉属性 od 视觉画笔的 XPS 元素(画布、路径或字形)。
viewboxRectangleF画笔源内容的位置和尺寸。
viewportRectangleF主要 brush tile 的包含坐标空间中的区域(可能重复)应用以填充应用画笔的区域

返回值

新的视觉画笔。

也可以看看