admin管理员组

文章数量:1574108

网上有c#,但实在不知道该如何转换。

public class ViewDWG

{

//C# TO JAVA CONVERTER WARNING: Java does not allow user-defined value types. The behavior of this class will differ from the original:

//ORIGINAL LINE: struct BITMAPFILEHEADER

private final static class BITMAPFILEHEADER

{

public short bfType;

public int bfSize;

public short bfReserved1;

public short bfReserved2;

public int bfOffBits;

public BITMAPFILEHEADER clone()

{

BITMAPFILEHEADER varCopy = new BITMAPFILEHEADER();

varCopy.bfType = this.bfType;

varCopy.bfSize = this.bfSize;

varCopy.bfReserved1 = this.bfReserved1;

varCopy.bfReserved2 = this.bfReserved2;

varCopy.bfOffBits = this.bfOffBits;

return varCopy;

}

}

public final Image GetDwgImage(String FileN

本文标签: 如何用文件JavaDWG