Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hello,

 

i use DirectX managed code

 

//in c# code i do this

private Surface _surface = null;

 

//on new i crerate surface etc...

//create and initial surface code

 

// in blt method

//if i want set the font fore color i do this

_urface.ForeColor =Color.Black;

 

//but i can not find a way to set font face name how i do this????

//i found property named FontHandle

_surface.FontHandle = ?????? how do set font handle here please

 

 

thank you

wael

  • 2 weeks later...
Posted

thnx for posting this. The font stuff isn't as straightforward as I expected, and you saved me the time of having to look it up myself. =)

 

-Hiro_Antagonist

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...