Product : Engine, Version : 5.0.1.1034Alpha, ArticleID : 41023751

HowTo : OsnapMode Constants

Article41023751
TypeHowTo
ProductEngine
Version5.0.1.1034Alpha
Date Added10/19/2004
Submitted byHans Berende
Keywords

Subject

OsnapMode Constants

Summary

OsnapMode in .NET cannot be set with Osnap Constans like VdOsnapNearest.

Solution

It is strongly recommended to pass Long type value(i.e 32) to OsnapMode and not the Constant(VdOsnapNearest).


Caution:keep in mind that Long has a different data width (32 bits) in Visual Studio 6.0. If you are passing a 32-bit argument in OsnapMode , declare it as Integer instead of Long in .NET