Changeset 701 for trunk/ab5.0/ablib/src/Classes/System/Drawing/Font.ab
- Timestamp:
- Apr 2, 2009, 5:27:22 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/ablib/src/Classes/System/Drawing/Font.ab
r698 r701 283 283 nativeFont = 0 284 284 Dim family = Nothing As FontFamily 285 Dim nativeFamily = family.NativeFamily285 Dim nativeFamily As *GpFontFamily 286 286 287 287 Try 288 288 family = New FontFamily(familyName, fontCollection) 289 nativeFamily = family.NativeFamily 289 290 Catch e As Exception 290 291 nativeFamily = FontFamily.GenericSansSerif().NativeFamily … … 292 293 293 294 Try 294 SetStatus(GdipCreateFont(nativeFamily, emSize, style, unit , nativeFont))295 SetStatus(GdipCreateFont(nativeFamily, emSize, style, unit As Long, nativeFont)) 295 296 Catch e As Exception 296 297 nativeFamily = FontFamily.GenericSansSerif().NativeFamily
Note:
See TracChangeset
for help on using the changeset viewer.