Current location - Trademark Inquiry Complete Network - Trademark registration - C# code for enlarging and reducing text
C# code for enlarging and reducing text
//? Suppose you want to increase the current font by 1 //? Get the current font size? var? fontSize? =? this.labelSampleText.Font.Size? +? 1; //? Get the current font style variable? fontFamily? =? this . labelsampletext . font . font family; //? Assign the latest font to labelsampletext.font? =? New? FontFamily (Fontsize);