PDFsharp & MigraDoc Foundation
https://forum.pdfsharp.net/

Patterns for XBrushes?
https://forum.pdfsharp.net/viewtopic.php?f=2&t=495
Page 1 of 1

Author:  lesterw53 [ Tue Oct 07, 2008 5:57 pm ]
Post subject:  Patterns for XBrushes?

Newbie question:

Is there a way to fill a rectangle with a "pattern" rather than just a colour?

For example:
Dim myBrush As XBrush = XBrushes.Beige
gfx.DrawRectangle(myPen, myBrush, line1Xpoint.X, line1Xpoint.Y, myWidth, myHeight)

replace Beige with something like "cross-hatching" or stippling?

Author:  amaurer [ Mon Apr 23, 2012 3:51 am ]
Post subject:  Re: Patterns for XBrushes?

Bump. Dying for an answer to this too.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/