SIL.FieldWorks.SharpViews.AssembledStyles.SetFaceName C# (CSharp) Method

SetFaceName() static private method

static private SetFaceName ( LgCharRenderProps &chrp, string fontName ) : void
chrp LgCharRenderProps
fontName string
return void
		internal static void SetFaceName(ref LgCharRenderProps chrp, string fontName)
		{
			chrp.szFaceName = new ushort[32];
			MarshalEx.StringToUShort(fontName, chrp.szFaceName);
		}

Same methods

AssembledStyles::SetFaceName ( string fontName ) : void

Usage Example

Example #1
0
			internal override void SetOwnProperty(AssembledStyles styles)
			{
				styles.SetFaceName(SetToValue);
			}