yeah, i know.
but don't necessary want to start the text rendering at point 0,0 or the
block.
how would you go about inserting an indent?
tia
sam
"Mohammad-Reza" <(E-Mail Removed)> wrote in message
news:5782FE98-D690-4574-AFC3-(E-Mail Removed)...
> You must specify rectangle of your text position and then GDI+ it self
> will
> wrap your text.
>
> "Sam Martin" wrote:
>
>> Hi all,
>>
>> I want to be able to draw wrapped text started at a point x into the
>> rectangle on the first line
>> If there's not a GDI+ method for this, i'm guessing it's a common
>> technique,
>> but can't seem to find an example.
>>
>> for example
>>
>> normal DrawString(string, font, brush, xpos, width) (from memory)
>>
>> so this is fine for drawing
>>
>> My name is sam
>> and drawstring
>> automatically
>> wrapped this for
>> me.
>>
>> however, i want to start the first line 50px in
>> i.e.
>>
>> My name
>> is sam and
>> drawstring
>> automatically
>> wrapped this for
>> me.
>>
>> See what i mean?
>>
>> any help appreaciated
>>
>> sam
>>
>>
>>
|