EgtPHOTOLib 2.7j1 :
- corretta gestione bordi fotografia.
This commit is contained in:
@@ -58,5 +58,5 @@ Imports System.Windows
|
||||
' by using the '*' as shown below:
|
||||
' <Assembly: AssemblyVersion("1.0.*")>
|
||||
|
||||
<Assembly: AssemblyVersion("2.7.9.1")>
|
||||
<Assembly: AssemblyFileVersion("2.7.9.1")>
|
||||
<Assembly: AssemblyVersion("2.7.10.1")>
|
||||
<Assembly: AssemblyFileVersion("2.7.10.1")>
|
||||
|
||||
@@ -91,8 +91,9 @@ Public Class DetailPageSlabVM
|
||||
EgtSetLevel(nPhGrpId, GDB_LV.SYSTEM)
|
||||
EgtOutLog("LoadPhoto '" & sPath & "'")
|
||||
' Carico la fotografia
|
||||
Dim bOk As Boolean = EgtAddPhoto(PHOTO_NAME, sPath, ptOri, ptCen, dMMxPixel, nPhGrpId, New Point3d(0, 0, 0), New Point3d(m_TableDimX, m_TableDimY, 0)) <> GDB_ID.NULL
|
||||
Return bOk
|
||||
Dim nPhotoId As Integer = EgtAddPhoto(PHOTO_NAME, sPath, ptOri, ptCen, dMMxPixel, nPhGrpId,
|
||||
New Point3d(ptOri.x, ptOri.y, 0), New Point3d(m_TableDimX, m_TableDimY, 0))
|
||||
Return (nPhotoId <> GDB_ID.NULL)
|
||||
End Function
|
||||
|
||||
Friend Function UpdatePhoto() As Boolean
|
||||
@@ -146,7 +147,9 @@ Public Class DetailPageSlabVM
|
||||
End If
|
||||
EgtSetLevel(nPhGrpId, GDB_LV.SYSTEM)
|
||||
' Carico la fotografia
|
||||
Return EgtAddPhoto2(PHOTO_NAME, sPath, ptOri, ptCen, dDimX, dDimY, nPhGrpId, New Point3d(0, 0, 0), New Point3d(m_TableDimX, m_TableDimY, 0)) <> GDB_ID.NULL
|
||||
Dim nNewPhotoId As Integer = EgtAddPhoto2(PHOTO_NAME, sPath, ptOri, ptCen, dDimX, dDimY, nPhGrpId,
|
||||
New Point3d(ptOri.x, ptOri.y, 0), New Point3d(m_TableDimX, m_TableDimY, 0))
|
||||
Return ( nNewPhotoId <> GDB_ID.NULL)
|
||||
End Function
|
||||
|
||||
Private Function ReadAuxData(sPath As String,
|
||||
|
||||
Reference in New Issue
Block a user