semoon
V2EX  ›  问与答

关于长微博工具编辑器的问题

  •  
  •   semoon · May 5, 2012 · 4972 views
    This topic created in 5145 days ago, the information mentioned may be changed or developed.
    我在用.net写一个客户端程序,用来发长微博。。。

    现在在HTML编辑器控件里面写好了文字图片什么的,要生成图片,怎么获取编辑器里面内容的长和宽呢? 暂时我的思路就是这个,不知道有木有其他好的方法。。。
    6 replies    1970-01-01 08:00:00 +08:00
    notedit
        1
    notedit  
       May 5, 2012
    长微博最好有固定的宽度,然后高度自适应,.net 应该有把html转换为图片的开源的类库吧
    semoon
        2
    semoon  
    OP
       May 5, 2012
    @notedit 编辑器里宽度也不会固定。。。开源类库没找到,现在郁闷中。。。
    semoon
        3
    semoon  
    OP
       May 6, 2012
    另外,PC客户端中 分享 功能实现思路是什么,我没头绪啊,求助。。。
    nffish
        4
    nffish  
       May 6, 2012
    不喜欢所谓的长微博,图片里文字看着不舒服
    直接发blog,然后发条链接到微博
    shiweifu
        5
    shiweifu  
       May 6, 2012
    都长了,为啥还叫微?
    弄个博客,贴地址不好吗
    semoon
        6
    semoon  
    OP
       May 6, 2012
    @shiweifu 不是每个用户的需求都能得到理解的。。。我也没办法啊,让做就做呗!
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2843 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 94ms · UTC 08:05 · PVG 16:05 · LAX 01:05 · JFK 04:05
    ♥ Do have faith in what you're doing.